<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <!--[if lt IE 9]>
  <script type="text/javascript" src="__STATIC__/admin/js/html5.js"></script>
  <script type="text/javascript" src="__STATIC__/admin/js/respond.min.js"></script>
  <script type="text/javascript" src="__STATIC__/admin/js/PIE_IE678.js"></script>
  <![endif]-->
  <link href="__STATIC__/admin/assets/css/bootstrap.min.css" rel="stylesheet" />
  <link rel="stylesheet" href="__STATIC__/admin/css/style.css"/>
  <link href="__STATIC__/admin/assets/css/codemirror.css" rel="stylesheet">
  <link rel="stylesheet" href="__STATIC__/admin/assets/css/ace.min.css" />
  <link rel="stylesheet" href="__STATIC__/admin/Widget/zTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
  <link rel="stylesheet" href="__STATIC__/admin/assets/css/font-awesome.min.css" />
  <!--[if IE 7]>
  <link rel="stylesheet" href="__STATIC__/admin/assets/css/font-awesome-ie7.min.css" />
  <![endif]-->
  <link href="__STATIC__/admin/Widget/icheck/icheck.css" rel="stylesheet" type="text/css" />
  <link href="__STATIC__/admin/Widget/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />

  <title>修改管理员</title>
</head>
<body>
<div class="clearfix" id="add_picture">

  <div class="page_right_style">
    <div class="type_title">修改管理员</div>
    <form action="{:url('update')}" method="post" enctype='multipart/form-data' class="form form-horizontal" id="form-article-add">
      <div class="clearfix cl">
        <label class="form-label col-2"><span class="c-red" style="color:red">*</span>登录名：</label>
        <div class="formControls col-10"><input type="text" class="input-text" value="{$info.username}" placeholder="输入登录名"  name="username"></div>
        <input type="hidden" name="id" value="{$info.id}">
      </div>
      <div class="clearfix cl">
        <label class="form-label col-2"><span class="c-red" style="color:red">*</span>修改密码：</label>
        <div class="formControls col-10"><input type="text" class="input-text" value="" placeholder="修改密码"  name="password"></div>
      </div>
      <div class=" clearfix cl">
        <label class="form-label col-2"><span class="c-red" style="color:red">*</span>选择角色：</label>
        <div class="formControls col-2"><span class="select-box">
				<select class="select" name="role_id">
				   {volist name="role" id="vo"}
          <option value="{$vo.id}" {if condition="$vo.id eq $info.id"} selected="selected"{/if} > {$vo.role_name}</option>
                    {/volist}
				</select>
				</span></div>
      </div>
      <div class="clearfix cl">
        <label class="form-label col-2"><span class="c-red" style="color:red">*</span>昵称：</label>
        <div class="formControls col-10"><input type="text" class="input-text" value="{$info.realname}" placeholder="输入昵称"  name="realname"></div>
      </div>

      <div class="clearfix cl">
        <div class="Button_operation">
          <button onClick="article_save_submit();" class="btn btn-primary radius" type="submit"><i class="icon-save "></i>保存并提交</button>
          <button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
        </div>
      </div>
    </form>
  </div>
</div>
</div>
<script src="__STATIC__/admin/js/jquery-1.9.1.min.js"></script>
<script src="__STATIC__/admin/assets/js/bootstrap.min.js"></script>
<script src="__STATIC__/admin/assets/js/typeahead-bs2.min.js"></script>
<script src="__STATIC__/admin/assets/layer/layer.js" type="text/javascript" ></script>
<script src="__STATIC__/admin/assets/laydate/laydate.js" type="text/javascript"></script>
<script type="text/javascript" src="__STATIC__/admin/Widget/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__STATIC__/admin/Widget/icheck/jquery.icheck.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/Widget/zTree/js/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/Widget/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/Widget/webuploader/0.1.5/webuploader.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/Widget/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="__STATIC__/admin/Widget/ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" src="__STATIC__/admin/Widget/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script src="__STATIC__/admin/js/lrtk.js" type="text/javascript" ></script>
<script type="text/javascript" src="__STATIC__/admin/js/H-ui.js"></script>
<script type="text/javascript" src="__STATIC__/admin/js/H-ui.admin.js"></script>

<script>
  $(function() {
    $("#add_picture").fix({
      float : 'left',
      skin : 'green',
      durationTime :false,
      stylewidth:'220',
      spacingw:0,
      spacingh:260,
    });
  });
  $( document).ready(function(){
//初始化宽度、高度

    $(".widget-box").height($(window).height());
    $(".page_right_style").height($(window).height());
    $(".page_right_style").width($(window).width()-220);
    //当文档窗口发生改变时 触发
    $(window).resize(function(){

      $(".widget-box").height($(window).height());
      $(".page_right_style").height($(window).height());
      $(".page_right_style").width($(window).width()-220);
    });
  });
  $(function(){
    var ue = UE.getEditor('editor');
  });

</script>

</body>
</html>